/**
 * Copyright (C), 2015-2018, XXX有限公司
 * FileName: OffLineTemperatureServiceImpl
 * Author:   周宏硕
 * Date:     2018/12/24 15:13
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.ht.temp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ht.temp.entity.MonthReport;
import com.ht.temp.entity.OffLineTemperature;
import com.ht.temp.mapper.MonthReportMapper;
import com.ht.temp.mapper.OffLineTemperatureMapper;
import com.ht.temp.service.IOffLineTemperatureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author 周宏硕
 * @create 2018/12/24
 * @since 1.0.0
 */
@Service
@Transactional
public class OffLineTemperatureServiceImpl extends ServiceImpl<OffLineTemperatureMapper, OffLineTemperature> implements IOffLineTemperatureService {
   @Autowired
   private OffLineTemperatureMapper offLineTemperatureMapper;


    @Override
    public List<OffLineTemperature> selectByOffLineTemperature(OffLineTemperature offLineTemperature) {
        return offLineTemperatureMapper.selectByOffLineTemperature(offLineTemperature);
    }

    @Override
    public int deleteByPrimaryKey(Integer temId) {
        return offLineTemperatureMapper.deleteByPrimaryKey(temId);
    }

    @Override
    public int insertSelectiveOffLineTemperature(OffLineTemperature record) {
        return 0;
    }

    @Override
    public OffLineTemperature selectByPrimaryKey(Integer temId) {
        return offLineTemperatureMapper.selectByPrimaryKey(temId);
    }
}
